package cn.chenjifeng.dao;

import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;

import cn.chenjifeng.model.Desk_Id_Mdeol;
import cn.chenjifeng.model.OrderModel;

public interface OrderDao 
{
	public int AddOrder(OrderModel mo)throws SQLException;
	public ArrayList<OrderModel> SearchAll(int page,int pagesum) throws SQLException;
	public int total()throws SQLException ;
	public ArrayList<OrderModel> SearchAll_part(int page,int pagesum,String type,String keyword)  throws SQLException;
	public  ArrayList<Desk_Id_Mdeol> SearchDeakId() throws SQLException;
	public int Alert(OrderModel om)throws SQLException;
	public int Alert_status (OrderModel om)throws SQLException;
}
